package com.IOhomework;

import java.io.*;

public class IOTest {
    public static void main(String[] args) {

        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("D:\\JBtoolbox\\JB_javacode\\practic\\practic.txt")));
            BufferedWriter bw = new BufferedWriter(new FileWriter("D:\\JBtoolbox\\JB_javacode\\practic\\IOText03.txt"));
            String s = " ";
            while ((s = br.readLine()) != null) {
                bw.write(s);
                bw.newLine();
            }
            br.close();
            bw.close();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}

